package designMode.decoratorPattern;

import java.io.FilterInputStream;
import java.io.LineNumberInputStream;

/**
 * @ClassName Beverage
 * @Description 抽象顶类
 * @Author LIBOFEI
 * @Date 2020/6/15 15:45
 * @Version 1.0
 **/
public abstract class Beverage {

    String description = "default description";

    int size = 1;

    public String getDescription() {
        return description;
    }

    public int getSize(){
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public abstract double cost();
}
